<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: majiameng <666@majiameng.com>
// +----------------------------------------------------------------------
return [
    'mysql' => [
        'type'            => 'mysql',// 数据库类型
        'hostname'        => '127.0.0.1',// 服务器地址
        'database'        => 'bishe',// 数据库名
        'username'        => 'bishe',// 用户名
        'password'        => 'bishe',// 密码
        'hostport'        => '3306',// 端口
        'charset'         => 'utf8',// 数据库编码默认采用utf8
        'prefix'          => '',// 数据库表前缀
    ],
];